﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyLibellus
{
    class Book
    {
        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        //                                      Class Atributtes

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        private string isbn;
        private string short_title;
        private string long_title;
        private string publisher_id;
        private string summary;
        private string awards;
        private double price_paid;
        private List<Subject> lS;
        private List<Author> lA;

        

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        //                                      Class Constructor

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        public Book()
        {
            lA = new List<Author>();
            lS = new List<Subject>();
        }


        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        //                                      Getters & Setters

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        internal List<Author> LA
        {
            get { return lA; }
            set { lA = value; }
        }
        

        internal List<Subject> LS
        {
            get { return lS; }
            set { lS = value; }
        }

        public double Price_paid
        {
            get { return price_paid; }
            set { price_paid = value; }
        }

        public string Awards
        {
            get { return awards; }
            set { awards = value; }
        }

        public string Summary
        {
            get { return summary; }
            set { summary = value; }
        }

        public string Publisher_id
        {
            get { return publisher_id; }
            set { publisher_id = value; }
        }

        public string Long_title
        {
            get { return long_title; }
            set { long_title = value; }
        }

        public string Short_title
        {
            get { return short_title; }
            set { short_title = value; }
        }

        public string Isbn
        {
            get { return isbn; }
            set { isbn = value; }
        }

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        //                                      Class methods

        //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        public void guardar()
        {
 
        }
    }
}
